#include <string>
#include <SimpleAmqpClient/SimpleAmqpClient.h>

using std::string;

struct MQInfo{
    string Exchange = "file_exchange";
    string Queue = "file_queue";
    string RoutingKey = "fileinfo";
};

int main(){
    MQInfo info;

    AmqpClient::Channel::ptr_t channal = AmqpClient::Channel::Create();

    AmqpClient::BasicMessage::ptr_t message = AmqpClient::BasicMessage::Create("{\"filename\":\"tmp/1.txt\"}");

    channal->BasicPublish(info.Exchange, info.RoutingKey, message);

    return 0;
}